package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTProgram;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

/**
 * The ProgramFactory is used to create programs.
 * 
 * @author tessierj
 *
 */
public class ProgramFactory {
	private ProgramFactory() {
		
	}
	
	public static ASTProgram createProgram(ASTTranslationUnit translationUnit) {
		return new ASTProgram(translationUnit, IASTNodeTypes.PROGRAM);
	}
}
